package com.woniuxy.mesboot.mapper;

import com.woniuxy.mesboot.entity.SysMenu;
import com.woniuxy.mesboot.vo.MenuVO;

import java.util.List;

/**
* @author 21925
* @description 针对表【sys_menu】的数据库操作Mapper
* @createDate 2023-05-22 19:27:13
* @Entity com.woniuxy.mesboot.entity.SysMenu
*/
public interface SysMenuMapper {

    List<MenuVO> selectMenuByName(String userName,Integer parentId);

    List selectAll();

    int deleteByPrimaryKey(Long id);

    int insert(SysMenu record);

    int insertSelective(SysMenu record);

    SysMenu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysMenu record);

    int updateByPrimaryKey(SysMenu record);

}
